package com.nwpu.coursesupport.enumeration;

public enum StatusType {
	
	NOLOGIN("noLogin","403","该用户未登录"),
	NOROLE("noRole","401","该用户没有权限访问"),
	SUCCESS("success","200",""),
	WRONG("error","400",""),
	USEREXIT("error","410","该用户已存在"),
	USERINFORMERROR("error","411","用户名或密码错误"),
	;
	private String name;
	private String statusCode;
	private String message;
	private StatusType(){
		
	}
	private StatusType(String name,String statusCode,String message){
		this.name=name;
		this.statusCode=statusCode;
		this.message=message;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	public String getStatusCode() {
		return statusCode;
	}
	public void setStatusCode(String statusCode) {
		this.statusCode = statusCode;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	

}
